﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
    if (PropertyManagement.Common.Util.CustomerUtil.IsCustomerLogedIn)
    {
%>
        Welcome <b><%: PropertyManagement.Common.Util.CustomerUtil.LoggedInCustomer.FirstName %></b>!
        [ <%: Html.ActionLink("Log Off", "LogOff", "CustomerAccount") %> ]
<%
    }
    else {
%> 
        [ <%: Html.ActionLink("Log On", "LogOn", "CustomerAccount") %> ]
<%
    }
%>
